Skip to content

Commit

Permalink
#177 fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roefem committed Nov 23, 2023
1 parent 530092f commit 8b3182e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/__tests__/OeContainer.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Container', () => {
});
cy.mount(TestComponent);

cy.dataCy('container-content').invoke('text').should('equal', 'Container content');
cy.dataCy('oe-container-content').invoke('text').should('equal', 'Container content');
});

it('renders the given slot content with html', () => {
Expand All @@ -22,7 +22,7 @@ describe('Container', () => {
});
cy.mount(TestComponentHtml);

cy.dataCy('container-content').invoke('html').should('equal', '<button>My button</button>');
cy.dataCy('oe-container-content').invoke('html').should('equal', '<button>My button</button>');
});

it("doesn't render tabs", () => {
Expand All @@ -47,7 +47,7 @@ describe('Container', () => {

it('renders the content in a scrollable container', () => {
cy.dataCy('hidden-content').should('not.be.visible');
cy.dataCy('container-content').scrollTo('bottom');
cy.dataCy('oe-container-content').scrollTo('bottom');
cy.dataCy('hidden-content').should('be.visible');
});
});
Expand Down

0 comments on commit 8b3182e

Please sign in to comment.