Skip to content

Commit

Permalink
chore(documentation): Snapshot tests failing (#2754)
Browse files Browse the repository at this point in the history
  • Loading branch information
imagoiq authored Mar 5, 2024
1 parent 38f5d57 commit e074b76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('Alert', () => {

it('post-alert', () => {
cy.visit('/iframe.html?id=snapshots--post-alert');
cy.get('post-alert post-icon', { timeout: 30000 }).should('be.visible');
cy.get('post-icon', { timeout: 30000 }).should('be.visible');
cy.percySnapshot('Alerts (Web Component)', { widths: [320, 1440] });
});
});
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe('Post-Rating', () => {
it('default', () => {
cy.visit('/iframe.html?id=snapshots--post-rating');
cy.visit('/iframe.html?id=snapshots--rating');
cy.get('post-rating', { timeout: 30000 }).should('be.visible');
cy.percySnapshot('Post-Rating', { widths: [600] });
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
describe('Textarea', () => {
it('default', () => {
cy.visit('./iframe.html?id=snapshots--textarea');
cy.percySnapshot('Textareas', { widths: [400] });
});
it('default', () => {
cy.visit('/iframe.html?id=snapshots--textarea');
cy.get('textarea', { timeout: 30000 }).should('be.visible');
cy.percySnapshot('Textareas', { widths: [400] });
});
});

0 comments on commit e074b76

Please sign in to comment.