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.

Failing tests `identifier 't' has already been declared` Jitsi

See original GitHub issue

What is your Scenario?

Simple open Jitsi call page test

What is the Current behavior?

All the same, behavior as described here:

  • Identifier 't' has already been declared
  • page works when opened manually, no issues or errors were observed

What is the Expected behavior?

TestCafe should be able to render the app independent of the host scripts

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

https://meet.jit.si/testcafe_error

What is your TestCafe test code?

await t.navigateTo('https://meet.jit.si/testcafe_error');
await t.wait(500000);

Your complete configuration file

No response

Your complete test report

No response

Screenshots

Test: Screenshot 2021-12-29 at 15 19 33

Manual (everything works fine): Screenshot 2021-12-29 at 15 20 46

Steps to Reproduce

  1. https://meet.jit.si/testcafe_error
  2. Open the call page using testcafe

TestCafe version

1.18.1

Node.js version

14.15.4

Command-line arguments

testcafe --skip-js-errors --hostname localhost $NODE_DEBUG_OPTION “chrome --use-fake-ui-for-media-stream --use-fake-device-for-media-stream”

Browser name(s) and version(s)

Chrome 96

Platform(s) and version(s)

macOS 10.15.7

Other

No response

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
miherlosevcommented, Jan 31, 2022

Hi @aal89

Thank you for the detailed information. We will investigate it.

0reactions
miherlosevcommented, Dec 21, 2022

Hi @humanamburu,

TestCafe runs tests using the URL-rewritten proxy. This approach is good. However, there is a way to improve the stability and speed of test execution - the native browser automation API. We have a test execution mode uses native browser automation - we call it the Proxyless mode. In Proxyless mode, a few issues are already fixed. By the way, this issue was also fixed in Proxyless mode. This option is available in all interfaces:

// Command-line
testcafe chrome tests --experimental-proxyless

// Programmatic
const testcafe = await createTestCafe({ experimentalProxyless: true });
	
// Configuration file
{
   "experimentalProxyless": "true"
}	

Setup the testcafe@2.1.1-alpha.3 version and try running your tests in Proxyless mode. I look forward to your results. Note that at present it is an experimental mode. Also, the Proxyless mode is implemented only in Google Chrome. It will not work correctly if you run tests in a non-Chrome browser or in a combination of other browsers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disconnection error since adding token config
Hi, I have installed jitsi-meet on a Ubuntu 18.04 server. ... room using a valid token I get a message saying 'you have...
Read more >
Contributing — Solidity 0.8.17 documentation
This results in a DeclarationError stating that the identifier was already declared. The isoltest tool is used for these tests and you can...
Read more >
javascript- Uncaught SyntaxError: Identifier * has already been ...
I am surprised to see this output as I am expecting 10 ..because two variables declared inside the if block refer to the...
Read more >
Merge branch 'master' of https://github.com/jitsi/jitsi-meet ...
[Android](https://play.google.com/apps/testing/org.jitsi.meet) ... If you didn't do that, you'll have to add both repositories.
Read more >
SEB Server User Guide
3 What is Safe Exam Browser Server (SEB Server)? ... After all the settings for a LMS Setup have been set, one can...
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