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

testcafe just stops/hangs when I added --disable-search-engine-choice-screen in package.json #8333

Open
phingankar opened this issue Nov 4, 2024 · 1 comment
Labels
STATE: Need clarification An issue lacks information for further research. TYPE: bug The described behavior is considered as wrong (bug).

Comments

@phingankar
Copy link

phingankar commented Nov 4, 2024

Screenshot 2024-11-04 at 5 06 54 pm

What is your Scenario?

I had to add --disable-search-engine-choice-screen in my package.json since testcafe is not working on latest chrome version

"production": "export NODE_ENV=production && npx testcafe ${BROWSER:-"chrome --start-fullscreen --disable-search-engine-choice-screen"} tests/* --debug-on-fail"

What is the Current behavior?

On running the specific test by fixture.only, the chrome doesnt respond/hangs on running the test

What is the Expected behavior?

The test should run successfully.

What is the public URL of the test page? (attach your complete example)

What is your TestCafe test code?

fixture.onlyDirectory Listing Page.page(url.root);
test('Display Top 3 Banner Ads with correct speciality and location', async (t) => {
await Steps.search(
'Psychologist in melbourne 3000',
'specialties_in_localities',
'Psychologist in Melbourne VIC 3000',
);
await t
.expect(DirectoryListingPO.directoryListingBannerAds.count)
.gte(2)
.expect(DirectoryListingPO.titleTextContent())
.contains(
'Psychologists in Melbourne VIC 3000',
'Title does not exist or incorrect',
)
.expect(
DirectoryListingPO.directoryListingBannerAdSpeciality.withText(
'Psychologist',
).count,
)
.gte(2)
.expect(DirectoryListingPO.directoryListingBannerAdSpecialityFeaturedTitle.withText(
'Featured',
).count,
)
.gte(2);
})

Your complete configuration file

No response

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

  1. Add export NODE_ENV=production && npx testcafe ${BROWSER:-"chrome --start-fullscreen --disable-search-engine-choice-screen"} tests/* --debug-on-fail in package.json
  2. Add fixture.only
  3. Run the test in chrome

TestCafe version

3.6.2

Node.js version

v18.12.1

Command-line arguments

npm run production

Browser name(s) and version(s)

Chrome 130.0.6723.92

Platform(s) and version(s)

Macos

Other

No response

@phingankar phingankar added the TYPE: bug The described behavior is considered as wrong (bug). label Nov 4, 2024
@testcafe-need-response-bot testcafe-need-response-bot bot added the STATE: Need response An issue that requires a response or attention from the team. label Nov 4, 2024
@Bayheck
Copy link
Collaborator

Bayheck commented Nov 6, 2024

Hello,

Please try the latest version of TestCafe 3.7.0. If the issue persists, please share a minimal working example so that the TestCafe team can investigate the issue in more detail.

@Bayheck Bayheck added STATE: Need clarification An issue lacks information for further research. and removed STATE: Need response An issue that requires a response or attention from the team. labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATE: Need clarification An issue lacks information for further research. TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

2 participants