-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): update snapshot test URLs (#1940)
- Loading branch information
1 parent
58d52f1
commit 2f1c751
Showing
14 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/alert.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Alert', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--alert'); | ||
cy.visit('/iframe.html?id=snapshots--alert'); | ||
cy.percySnapshot('Alerts', { widths: [320, 1440] }); | ||
}); | ||
}); |
4 changes: 2 additions & 2 deletions
4
packages/documentation/cypress/snapshots/components/badge.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Badge', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--badge'); | ||
cy.visit('/iframe.html?id=snapshots--badge'); | ||
cy.percySnapshot('Badges', { widths: [400] }); | ||
}); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/blockquote.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Blockquote', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--blockquote'); | ||
cy.visit('/iframe.html?id=snapshots--blockquote'); | ||
cy.percySnapshot('Blockquotes', { widths: [320, 1440] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/card.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Card', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--card'); | ||
cy.visit('/iframe.html?id=snapshots--card'); | ||
cy.percySnapshot('Cards', { widths: [1440] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/checkbox.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Checkbox', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--checkbox'); | ||
cy.visit('/iframe.html?id=snapshots--checkbox'); | ||
cy.percySnapshot('Checkboxes', { widths: [400] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/choice-card.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Choice card', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--choice-card'); | ||
cy.visit('/iframe.html?id=snapshots--choice-card'); | ||
cy.percySnapshot('Choice cards', { widths: [1440] }); | ||
}); | ||
}); |
6 changes: 6 additions & 0 deletions
6
packages/documentation/cypress/snapshots/components/header.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
describe('Header', () => { | ||
it('default', () => { | ||
cy.visit('/iframe.html?id=internet-header-header-component--default'); | ||
cy.percySnapshot('Header', { widths: [1440] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/radio.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Radio', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--radio'); | ||
cy.visit('/iframe.html?id=snapshots--radio'); | ||
cy.percySnapshot('Radios', { widths: [400] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/range.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Range', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--range'); | ||
cy.visit('/iframe.html?id=snapshots--range'); | ||
cy.percySnapshot('Ranges', { widths: [400] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/select.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Select', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--select'); | ||
cy.visit('/iframe.html?id=snapshots--select'); | ||
cy.percySnapshot('Selects', { widths: [400] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/table.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Table', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--table'); | ||
cy.visit('/iframe.html?id=snapshots--table'); | ||
cy.percySnapshot('Tables', { widths: [780] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/tabs.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Tabs', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--tabs'); | ||
cy.visit('/iframe.html?id=snapshots--tabs'); | ||
cy.percySnapshot('Tabs', { widths: [1440] }); | ||
}); | ||
}); |
2 changes: 1 addition & 1 deletion
2
packages/documentation/cypress/snapshots/components/toast.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('Toast', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--toast'); | ||
cy.visit('/iframe.html?id=snapshots--toast'); | ||
cy.percySnapshot('Toasts', { widths: [400, 1024] }); | ||
}); | ||
}); |
3 changes: 1 addition & 2 deletions
3
packages/documentation/cypress/snapshots/components/topic-teaser.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
describe('Topic-Teaser', () => { | ||
it('default', () => { | ||
cy.visit('./iframe.html?id=snapshots--topic-teaser'); | ||
cy.visit('/iframe.html?id=snapshots--topic-teaser'); | ||
cy.percySnapshot('Topic-Teaser', { widths: [320, 600, 1024] }); | ||
}); | ||
}); | ||
|