question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

strange behavior after update

See original GitHub issue

Using page-object tests after the last update of nightwatch after launching nightwatch -e chrome,the test don’t start and i’ve this output :

Warnings:

  1. Scenario: First try google - features/google.feature:4 Step: Given I open google home page - features/google.feature:6 Message: Undefined. Implement with the following snippet:
   this.Given(/^I open google home page$/, function (callback) {
     // Write code here that turns the phrase above into concrete actions
     callback(null, 'pending');
   });

is it possible that is a regression for the update?

thank you, Alfredo

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
AlfredoMorettacommented, May 30, 2016

try with this: step.js: module.exports = function() { this.Given(/^I open home page$/, function () { this.page.homepageFooter.footerAboutClick()

})

this.Then(/^Then I click About on footer$/, function () { this.page.homepageFooter.footerPress()

}) };

and in page-object use homepageFooter.js that contains:

module.exports = function () { this.footerAboutClick = function() { browser .url(“http://someurl”) .waitForElementVisible(‘body’, 10000) .windowMaximize() .refresh() .click(“.someclass”) .pause(1000) }

this.footerPress = function() { browser .click(“.someclass”) return browser } }

0reactions
mucsi96commented, Jun 1, 2016

cool! no problem 😃 I am closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Very Strange Behavior after Windows 10 Update
Help! After updating one of our PCs to Windows 10, we have encountered several "strange behavior" challenges.
Read more >
Strange behavior in messages after update | AppleVis
After the latest update, my messages app has gotten really strange. It is full of unlabeled buttons and when I open a message,...
Read more >
Weird behaviour with updates - Windows 10 Forums
Weird behaviour with updates. This is what happened: 1. Laptop should be offline: Ethernet plugged out, WiFi switched off in system tray.
Read more >
How to fix iOS 13 ghost touch bug on your iPhone ... - iKream
Troubleshooting iOS 13 ghost touch bug on your iPhone · First solution: Clear all background apps. · Second solution: Soft reset/force restart ...
Read more >
Windows 11 strange behavior
Your WIN update appears to be old. As someone mentioned, try Win Update as see what happens. My Computer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found