question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Roles do not work (show blank page between tests and fail) on M1 Airbook

See original GitHub issue

What is your Scenario?

I’m attempting to run tests that use Roles on an M1 airbook; 2020; Big Sur 11.2

What is the Current behavior?

Tests login then get stuck on a blank page and fail further tests in the fixture.

Occurs on latest chrome (96.0.4664.55 ) and safari (14.0.3 ) Does not occur on coworkers Windows machine, nor our linux pipeline

What is the Expected behavior?

Should work. Running the same code without Roles work just fine.

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

See code…

What is your TestCafe test code?

import { Role, Selector as $, t } from 'testcafe';

const user = Role('http://automationpractice.com/index.php?controller=authentication', async t => {
  await t
    .typeText($('#email'), 'roles@fail.test')
    .typeText($('#passwd'), 'test123')
    .click($('#SubmitLogin'))
});

fixture `MyFixture`
  .beforeEach(async t => {
    await t.useRole(user)
  })

test('Test1', async t => {
  await t
    .click($('.logout'))
    .expect($('.logout').exists).notOk()
})

test('Test2', async t => {
  await t
    .click($('.logout'))
    .expect($('.logout').exists).notOk()
})

Your complete configuration file

No response

Your complete test report

No response

Screenshots

boog

Steps to Reproduce

TestCafe version

1.17.1

Node.js version

v14.17.4

Command-line arguments

testcafe chrome test.js

Browser name(s) and version(s)

No response

Platform(s) and version(s)

No response

Other

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
teebashcommented, Jan 28, 2022

Just checking the status of this ticket, as this is also affecting.

1reaction
AlexanderMoiseevcommented, Dec 9, 2021

Hi,

Thank you for your input. We have reproduced the problem. Please stay tuned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If your Mac starts up to a blank screen - Apple Support (CA)
Try to start up from macOS Recovery. If your Mac seems to be turned on but the screen remains blank, follow the appropriate...
Read more >
If Safari on Mac isn't opening a web page or working as ...
A web page is blank, isn't displaying all of its content or isn't working as expected; You can't sign in to a web...
Read more >
app has black screen on device. wo… - Apple Developer
problem - app shows launch screen and then shows a black screen without any UI. the app works fine on simulator ios 13...
Read more >
Big Sur Print Goes Blank (Bug Dete… | Apple Developer Forums
On your Mac, choose Apple menu > System Preferences, then click Printers & Scanners. Press and hold the Control key as you click...
Read more >
Safari displays white blank page - Apple Community
Had the same problem. I solved it by disabling the "Lists" on ABP options. Safari is working OK again so far.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found