Skip to content

Commit

Permalink
add console logs to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jperl committed Mar 10, 2020
1 parent 295e5a2 commit 8299e58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/.qawolf/tests/keys.test.js
Expand Up @@ -16,6 +16,7 @@ afterAll(() => browser.close());

test('fill', async () => {
await page.goto(`${TEST_URL}text-inputs`);
await page.evaluate(() => console.log('start keys test'));
await page.click("[data-qa='html-text-input-filled']");
await page.click('html');
await page.fill("[data-qa='html-text-input-filled']", 'replaced');
Expand Down
1 change: 1 addition & 0 deletions test/.qawolf/tests/scroll.test.js
Expand Up @@ -15,5 +15,6 @@ afterAll(() => browser.close());

test('selects', async () => {
await page.goto(`${TEST_URL}infinite-scroll`);
await page.evaluate(() => console.log('start scroll test'));
await qawolf.scroll(page, 'html', { x: 0, y: 2205 });
});
1 change: 1 addition & 0 deletions test/.qawolf/tests/selects.test.js
Expand Up @@ -16,6 +16,7 @@ afterAll(() => browser.close());

test('selects', async () => {
await page.goto(`${TEST_URL}selects`);
await page.evaluate(() => console.log('start select test'));
await page.select("[data-qa='html-select']", 'cat');
await page.click("[data-qa='material-select']");
await page.click(selectors['2_li']);
Expand Down

0 comments on commit 8299e58

Please sign in to comment.