Skip to content

Commit c0685ad

Browse files
committed
improved a test to make it better
1 parent 5212f88 commit c0685ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generator/template/tests/e2e/app_test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Feature('App');
22

33
Scenario('Open app', (I) => {
44
I.amOnPage('/');
5+
6+
I.say('This test will pass if you enabled demo component');
57
I.see('Demo Component', 'h1');
68
I.fillField('First name', 'tester'); // using semantic locators
79
I.fillField('Last name', 'end2end');
@@ -11,5 +13,6 @@ Scenario('Open app', (I) => {
1113
I.click('Submit');
1214
I.see('"first_name":"tester"','#result');
1315
I.see('"last_name":"end2end"','#result');
16+
I.say("Now, it's your turn! Use this pause mode to write test on your own!");
1417
pause(); // TODO: Add more assertions when paused!
1518
});

0 commit comments

Comments
 (0)