strange behavior after update
See original GitHub issueUsing 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:
- 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:
- Created 7 years ago
- Comments:13 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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 } }
cool! no problem 😃 I am closing this issue.