DevExpress / testcafe

A Node.js tool to automate end-to-end web testing.
https://testcafe.io
MIT License
9.82k stars 671 forks source link

In native automation mode the original page title is changed to somtehing like this 'jsP39jbVh*3nMrYxeNI' #7833

Closed iwt-ttaskov closed 1 year ago

iwt-ttaskov commented 1 year ago

What is your Scenario?

I would like to assert the page title of my webpage in Chrome browser. The page title is 'Login | Immowelt' but I get something like 'jsP39jbVh*3nMrYxeNI' back from testcafe in native automation mode. For example, if not in native automation mode then testcafe returns the correct page title -> 'Login | Immowelt' The issue happens only in native automation mode.

What is the Current behavior?

The page title is 'Login | Immowelt' but I get something like 'jsP39jbVh*3nMrYxeNI' back from testcafe in native automation mode.

What is the Expected behavior?

The original page title is returned from testcafe in native automation mode.

What is your public website URL? (or attach your complete example)

https://signin.immowelt.de/

What is your TestCafe test code?

// loginPage.js this.pageTitle = Selector('title');

// test.js await t .expect(loginPage.pageTitle.textContent).eql('Login | Immowelt')

Your complete configuration file

No response

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

  1. Navigate to the page https://signin.immowelt.de/
  2. Assert the page title is 'Login | Immowelt'

TestCafe version

3.0.0

Node.js version

No response

Command-line arguments

yarn testcafe chrome:headless ./src/systemtests/test.js

Browser name(s) and version(s)

No response

Platform(s) and version(s)

No response

Other

No response

github-actions[bot] commented 1 year ago

We appreciate you taking the time to share the information about this issue. We replicated it, and it is currently in our internal queue. Please note that the research may take time. We'll update this thread once we have news.

iwt-ttaskov commented 1 year ago

Thank you :)

github-actions[bot] commented 1 year ago

Release v3.1.0-rc.1 addresses this.