Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress/update to cypress10 #267

Merged
merged 26 commits into from
Nov 7, 2022
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
6600d66
Bumping Cypress to v10.11.0
mmartin24 Oct 31, 2022
89dc7f7
updating config file
mmartin24 Oct 31, 2022
2c19ddd
updating cypress.json to cypress.config.ts for Dockerfile and ca
mmartin24 Oct 31, 2022
7ed5612
updating tests routes
mmartin24 Nov 1, 2022
d4a75f8
updating docker images to 10.11.0 for std ui
mmartin24 Nov 2, 2022
a4218bd
extending time for binary download to occur for Cypress 10
mmartin24 Nov 2, 2022
5aeb3ab
Improving sourcetype locator
mmartin24 Nov 2, 2022
3d55a63
Improving waits for dropdowns in CI
mmartin24 Nov 3, 2022
a7355c2
adding checks to runners
mmartin24 Nov 3, 2022
909cb56
skipping some tests to check runner
mmartin24 Nov 3, 2022
f155e1c
setting check runners to indiviual runners for std ui
mmartin24 Nov 3, 2022
23ab2bb
removing checks for runners
mmartin24 Nov 3, 2022
a69b0f2
Adding more explicit time on src dropdown and binaries to attemtp avo…
mmartin24 Nov 3, 2022
89f64b6
Adding logs and screenshots for debugging ci
mmartin24 Nov 3, 2022
0ff509e
removing tests kept in memory flag
mmartin24 Nov 4, 2022
a90bfe6
changing cypress docker version for ff
mmartin24 Nov 4, 2022
acc635a
changing docker version for ff to 10.3.1
mmartin24 Nov 4, 2022
b830a60
Changing back cypress with ff to 10.9.0
mmartin24 Nov 4, 2022
81fc2ed
Updating browser images for rd tests.
mmartin24 Nov 4, 2022
9e51e00
replacing debug docker
mmartin24 Nov 4, 2022
1f915a9
removing debug
mmartin24 Nov 4, 2022
6db7104
bringing back tests / adding bit more extra rtime after clicking on b…
mmartin24 Nov 6, 2022
6ee6c61
rmoving debug wait time and task.
mmartin24 Nov 6, 2022
6532401
testing bump ff Std UI to 10.11
mmartin24 Nov 7, 2022
8348e31
returning ff to v 10.9.0 / 99
mmartin24 Nov 7, 2022
32ecf7b
updating Cypress with FF in STD UI to v10.9.0 in all tests
mmartin24 Nov 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rmoving debug wait time and task.
adding force click on dropdown
  • Loading branch information
mmartin24 committed Nov 6, 2022
commit 6ee6c61896551f4b2fd17a301f5852405c2c6eeb
6 changes: 1 addition & 5 deletions cypress/support/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,7 @@ Cypress.Commands.add('createApp', ({appName, archiveName, sourceType, customPake
cy.get('.labeled-select.hoverable').contains('Source Type', {timeout: 10000}).should('be.visible').click( {force : true} );
cy.wait(1000)
cy.screenshot('SrcType Dropown after opening')
cy.task('log', '### NOW OPENING DROPDOWN TO SELECT SOURCE TYPE ###')
// Adding explicit wait here to attempt avoid failure in CI

cy.contains(sourceType, {timeout: 120000}).should('be.visible').click();
cy.contains(sourceType, {timeout: 10000}).should('be.visible').click({force: true});
switch (sourceType) {
case 'Container Image':
cy.typeValue({label: 'Image', value: archiveName});
Expand All @@ -203,7 +200,6 @@ Cypress.Commands.add('createApp', ({appName, archiveName, sourceType, customPake
cy.screenshot('SrcType Dropown opened BEFORE selecting ARCHIVE')
cy.get(' button[data-testid="epinio_app-source_archive_file"] input[type="file"]').attachFile({filePath: archiveName, encoding: 'base64', mimeType: 'application/octet-stream'});
cy.screenshot('SrcType Dropown opened AFTER selecting ARCHIVE')
cy.wait(120000)
break;
case 'GitHub':
cy.get('.labeled-input.edit.has-tooltip',{timeout:5000}).contains('label', 'Username / Organization').should('be.visible')
Expand Down