Skip to content

Commit 8bc0741

Browse files
committed
find tutorial slide with title attribute
1 parent 6dcd141 commit 8bc0741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/home.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('Login tests', () => {
4949
})
5050

5151
expect(wrapper.find('[data-test="tutorial"]').text()).toContain('Tutorial')
52-
expect(wrapper.find('[data-test="tutorial-slide"]').exists()).toBe(true)
52+
expect(wrapper.find('[title="tutorial"]').exists()).toBe(true)
5353
})
5454

5555
test('Alert shows when POST returns error', async () => {

0 commit comments

Comments
 (0)