-
Notifications
You must be signed in to change notification settings - Fork 178
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
E2E transfer and command update #17156
base: edge
Are you sure you want to change the base?
Changes from 20 commits
d83c729
6b7eff3
6e40698
df1942d
5e9e55d
2950726
f156954
f40e60e
50c6836
6300eaa
2ccb2de
13e762c
391d04c
5b7e02e
8750068
8259eec
ae5b69c
29903d3
f402fa5
0a5c1c6
d7fb3d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,18 @@ import { | |
describe('The Import Page', () => { | ||
beforeEach(() => { | ||
cy.visit('/') | ||
cy.closeAnalyticsModal() | ||
}) | ||
|
||
it('successfully loads a protocol exported on a previous version', () => { | ||
cy.contains('button', 'Confirm').click() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Put this in the |
||
const protocol = getTestFile(TestFilePath.DoItAllV7) | ||
cy.importProtocol(protocol.path) | ||
verifyOldProtocolModal() | ||
verifyImportProtocolPage(protocol) | ||
}) | ||
|
||
it('successfully loads a protocol exported on the current version', () => { | ||
cy.contains('button', 'Confirm').click() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. |
||
const protocol = getTestFile(TestFilePath.DoItAllV8) | ||
cy.importProtocol(protocol.path) | ||
verifyImportProtocolPage(protocol) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
describe('The Settings Page', () => { | ||
before(() => { | ||
cy.visit('/') | ||
cy.closeAnalyticsModal() | ||
cy.contains('button', 'Confirm').click() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use the command. |
||
}) | ||
|
||
it('content and toggle state', () => { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this to a new command in
protocol-designer/cypress/support/commands.ts
and give it a meaningful name.