-
nightwatch
Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
-
examples
Test script examples that are made for usage in Loadero platform out of the box or to be extended for custom use cases (by loadero)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
The reason for this behavior is thoroughly explained in Understanding the Command Queue Nightwatch.js GitHub wiki (it is a long read but it’s worth it). In this section, we will not look in such detail, this is going to be a summary of sorts. By the way, this command queue example can be found in Loadero’s public GitHub examples repository here.
The reason for this behavior is thoroughly explained in Understanding the Command Queue Nightwatch.js GitHub wiki (it is a long read but it’s worth it). In this section, we will not look in such detail, this is going to be a summary of sorts. By the way, this command queue example can be found in Loadero’s public GitHub examples repository here.
module.exports = { test: client => { let text; client .url('https://duckduckgo.com/') .perform(() => { text = 'first'; // assigns 'first' to text }) .setValue('#search_form_input_homepage', text) .getValue('#search_form_input_homepage', ({ value }) => console.log(value)) .clearValue('#search_form_input_homepage') // clears input field .perform(() => client.setValue('#search_form_input_homepage', text)) .getValue('#search_form_input_homepage', ({ value }) => console.log(value)); console.log('second'); } };
Text editor of your choice (in Loadero we prefer Visual Studio Code).