Code Monkey home page Code Monkey logo

Comments (3)

Farfurix avatar Farfurix commented on August 29, 2024 1

@A142170

Thank you for the clarification. I will close this thread as the issue is related to a specific project and its dependencies. If you still face with this issue after updating project dependencies, feel free to open a new bug report with a minimal working example.

from testcafe-browser-provider-saucelabs.

Farfurix avatar Farfurix commented on August 29, 2024

@A142170

Hello,

I cannot reproduce this issue in my environment: Windows 10, TestCafe v1.14.0, [email protected], Node.js v15.14.0. I ran this test successfully on my machine. Could you please install and run this test project?
./package.json:

{
  "name": "saucelabs-provider-test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "npx testcafe \"saucelabs:[email protected]:macOS 10.13\" test.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "testcafe": "^1.14.0",
    "testcafe-browser-provider-saucelabs": "^1.8.2"
  }
}

./test.js:

fixture `Fixture`
    .page('https://google.com');

test('test 1', async t => {
    await t.expect(true).ok();
});

test('test 2', async t => {
    await t.expect(true).ok();
});

test('test 3', async t => {
    await t.expect(true).ok();
});

test('test 4', async t => {
    await t.expect(true).ok();
});

Run command:

npm run test

I store Sauce Labs credentials in my environment variables.

Please share your sc-xxxxxxxxxxxxx.log file. You can find it in a project directory after the test fails.

from testcafe-browser-provider-saucelabs.

A142170 avatar A142170 commented on August 29, 2024

Thanks for looking into this. The code you have provided is able to connect to Saucelabs. I have come to the conclusion for now, that there is some common dependency between testcafe-browser-provider-saucelabs and other npm libraries I have in my project which might be causing this. I will compare the npm lock files and confirm.

from testcafe-browser-provider-saucelabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.