test(detox): fix assertion (#8002)
This commit is contained in:
parent
f8633d3b70
commit
72c9090167
@ -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' },
|
||||
|
||||
@ -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 %> 👋');
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user