Skip to content

Commit

Permalink
test(detox): fix assertion (nrwl#8002)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes authored Dec 3, 2021
1 parent f8633d3 commit 72c9090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .cz-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports = {
{ name: 'nx-plugin', description: 'anything Nx Plugin specific' },
{ name: 'react', description: 'anything React specific' },
{ name: 'react-native', description: 'anything React Native specific' },
{ name: 'detox', description: 'anything Detox specific' },
{ name: 'web', description: 'anything Web specific' },
{ name: 'linter', description: 'anything Linter specific' },
{ name: 'storybook', description: 'anything Storybook specific' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ describe('<%= appClassName %>', () => {
});

it('should display welcome message', async () => {
await expect(element(by.id('heading'))).toHaveText('Welcome to <%= appClassName %>');
});

it('should open nx link', async () => {
await expect(element(by.id('nx-link'))).toBeVisible();
element(by.id('nx-link')).tap();
await expect(element(by.id('heading'))).toHaveText('Welcome <%= appClassName %> 👋');
});
});

0 comments on commit 72c9090

Please sign in to comment.