Skip to content

Commit 75a6882

Browse files
committed
chore: manual merge
1 parent 54e34f4 commit 75a6882

File tree

5 files changed

+640
-867
lines changed

5 files changed

+640
-867
lines changed

regression-test/cypress/e2e/spec.cy.ts

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,8 @@
2222
* SOFTWARE.
2323
*/
2424

25-
describe('regression test', () => {
26-
it('open dialog subpage', () => {
27-
cy.visit('http://localhost:3000')
28-
cy.get('a').contains('dialog').click()
29-
cy.get('button').click()
30-
cy.get('body').should('contain', 'Full name')
31-
cy.get('[class$="closeButton"]').click()
32-
})
33-
34-
it('open alert subpage', () => {
35-
cy.visit('http://localhost:3000')
36-
cy.get('a').contains('alert').click()
37-
cy.get('body').should('contain', 'Sample info text')
38-
})
39-
40-
it('open breadcrumb subpage', () => {
41-
cy.visit('http://localhost:3000')
42-
cy.get('a').contains('breadcrumb').click()
43-
cy.get('body').should('contain', 'Rabbit Is Rich')
44-
cy.get('body').contains('The Rabbit Novels').click()
45-
const redirect = 'https://instructure.design'
46-
cy.origin(redirect, { args: { redirect } }, ({ redirect }) => {
47-
cy.location().should((loc) => {
48-
loc.href.includes(redirect)
49-
})
50-
})
25+
describe('visual regression test', () => {
26+
it('check button', () => {
27+
cy.visit('http://localhost:3000/button')
5128
})
5229
})

0 commit comments

Comments
 (0)