Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/reviewing_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: npm run sample-test

- name: Run local tests
run: npm run sample-test
run: npm run sample-local-test

- if: always()
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Update `.env` file with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings).

## Running your tests
* To run tests, run `npm run parallel`
* To run local tests, run `npm run local`
* To run tests, run `npm run sample-test`
* To run local tests, run `npm run sample-local-test`

Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)

Expand Down
2 changes: 1 addition & 1 deletion src/test/local/local_test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const assert = require('assert');
Feature('BrowserStack Local Testing');

Scenario('Local Test', async ({ I }) => {
Scenario('BStack Local Test', async ({ I }) => {
I.amOnPage("http://bs-local.com:45454/")

let text = await I.grabTitle()
Expand Down
2 changes: 1 addition & 1 deletion src/test/sample/sample_test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const assert = require('assert');
Feature('Add to Cart');

Scenario('Sample Test', async ({ I }) => {
Scenario('BStack Sample Test', async ({ I }) => {
I.amOnPage("https://bstackdemo.com")
let expectedProductName = await I.grabTextFrom('//*[@id="1"]/p')
I.click('//*[@id="1"]/div[4]')
Expand Down