Skip to content

Commit 5683bd6

Browse files
author
Henderson Hummel
authored
Add test to ensure 'download_concurrency' config is surfaced. (#280)
* Add test to ensure 'download_concurrency' config is surfaced. * Fix filename and test name. * Navigate directly to the page, rather than clicking the nav. * Select using aria labels, text for better reliability and readability
1 parent c992754 commit 5683bd6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
describe('Repo Management tests', () => {
2+
let host = Cypress.env('host');
3+
let adminUsername = Cypress.env('username');
4+
let adminPassword = Cypress.env('password');
5+
6+
beforeEach(() => {
7+
cy.visit(host)
8+
});
9+
10+
it('admin user sees download_concurrency in remote config', () => {
11+
cy.login(adminUsername, adminPassword);
12+
cy.visit(host + 'ui/repositories?page_size=10&tab=remote');
13+
cy.get('[aria-label="Actions"]:first').click(); // click the kebab menu on the 'community' repo
14+
cy.contains('Edit').click();
15+
cy.contains('Show advanced options').click();
16+
cy.get('#download_concurrency').should('exist');
17+
});
18+
});

0 commit comments

Comments
 (0)