Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with concurrent tests on browserstack local #3804

Closed
alicenwonderland94 opened this issue Jul 12, 2023 · 3 comments · Fixed by #3828
Closed

Problem with concurrent tests on browserstack local #3804

alicenwonderland94 opened this issue Jul 12, 2023 · 3 comments · Fixed by #3828

Comments

@alicenwonderland94
Copy link

Description of the bug/issue

When I try to run tests concurrently on browserstack local, I expect for tests to run fine, but what happens is that the test seem to get skipped and a HTML report created.

Output:

Running   z_prod_bs.galaxy_s21 environment  
Running   z_prod_bs.win11_chrome_desktop environment  
 Wrote HTML report file to: /Users/alubsey/marty/packages/e2e/tests_output/nightwatch-html-report/index.html

Steps to reproduce

Run the sample test locally on browserstack using 2 different device configs.

Here are 2 configs that we used:

'bs.win11_chrome_desktop': {
// tier 1
extends: 'browserstack',
desiredCapabilities: {
'bstack:options': {
os: 'Windows',
osVersion: '11',
browserVersion: 'latest',
},
browserName: 'Chrome',
acceptInsecureCerts: true,
chromeOptions: {
w3c: true
}
}
},
'bs.galaxy_s21': {
// tier 1
extends: 'browserstack',
desiredCapabilities: {
'browserName': 'chrome',
'bstack:options': {
osVersion: '11.0',
deviceName: 'Samsung Galaxy S21',
realMobile: true
}
}
}

Sample test

"Empty Cart test ": async function () {
      await browser.navigateTo('https://www.zappos.com/cart');
      await browser.execute('window.scrollTo(0,document.body.scrollHeight);');
      await browser.pause(2000);
      await browser.execute('window.scrollTo(0,0);');
      await browser.pause(2000);
    }
  };

Command to run

No response

Verbose Output

Nothing is printed out for verbose logs

Nightwatch Configuration

No response

Nightwatch.js Version

3.0.1

Node Version

20.4.0

Browser

No response

Operating System

No response

Additional Information

No response

@BAKS-MAN
Copy link

@alicenwonderland94 Looks like you have the same issue #3787 ?

@alicenwonderland94
Copy link
Author

Hey @BAKS-MAN. It is similar but I was asked to create a ticket despite this: https://discord.com/channels/618399631038218240/1124104025403555951/1128321694881288263

@AutomatedTester
Copy link
Member

This is possibly fixed by #3791

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants