Skip to content

Commit 31d7dc6

Browse files
sourav-kundufrancisf
authored andcommitted
chore: fix readme links and other minor items
1 parent b17da00 commit 31d7dc6

8 files changed

+17
-16
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node_modules
1+
node_modules

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ BrowserStack Playwright tests in beta supports the following browsers across the
6161

6262
**The bundled browser version that will be used to run your test is the same that comes bundled with the Playwright version**. Supported Playwright versions and the option to specify them is given in a later section of this page.
6363

64-
**Note**: You can also run your tests in any of the mobile `devices` that Playwright supports for emulation. You can find the [sample code for running in an iPhone emulator](https://github.com/sourav-kundu/playwright-browserstack/blob/master/sample_test_on_iPhone.js) and the [sample for running on Pixel](https://github.com/sourav-kundu/playwright-browserstack/blob/master/sample_test_on_Pixel.js). The complete list of `devices` supported by Playwright can be found [here](https://github.com/microsoft/playwright/blob/master/src/server/deviceDescriptors.js)
64+
**Note**: You can also run your tests in any of the mobile `devices` that Playwright supports for emulation. You can find the [sample code for running in an iPhone emulator](https://github.com/browserstack/playwright-browserstack/blob/master/sample_test_on_iPhone.js) and the [sample for running on Pixel](https://github.com/browserstack/playwright-browserstack/blob/master/sample_test_on_Pixel.js). The complete list of `devices` supported by Playwright can be found [here](https://github.com/microsoft/playwright/blob/master/src/server/deviceDescriptors.js)
6565

6666
### OS (with versions) supported
6767
1. Windows 10 (`'os': 'Windows', 'os_version': '10'`)
@@ -88,7 +88,7 @@ You can see the [documentation for marking test status using REST API](https://w
8888

8989
If you are using Jest to run your Playwright tests, you can run all your playwright-jest tests on BrowserStack as well. Follow the steps below to run the sample tests in this repository:
9090

91-
1. Clone this repository using `git clone https://github.com/sourav-kundu/playwright-browserstack.git` (if not already done).
91+
1. Clone this repository using `git clone https://github.com/browserstack/playwright-browserstack.git` (if not already done).
9292
2. Go inside the directory playwright-jest using `cd playwright-jest`
9393
3. Install the dependencies using `npm install`
9494
4. Put in your credentials in the file `jest-playwright.config.js` in the capabilities part.
@@ -97,4 +97,4 @@ If you are using Jest to run your Playwright tests, you can run all your playwri
9797

9898
## Facing issues?
9999

100-
If you are facing any issue with any of the above or any other issue in trying to run your Playwright tests on BrowserStack, you can reach out to me directly at `sourav.k@browserstack.com` and I will be happy to debug your issues or at the least ensure that your issue becomes our top priority to resolve.
100+
If you are facing any issue with any of the above or any other issue in trying to run your Playwright tests on BrowserStack, you can [reach out to support](https://www.browserstack.com/contact#technical-support), select product as `Automate` and post your query there.

codeceptjs-example/codecept.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ exports.config = {
4949
enabled: true
5050
}
5151
}
52-
}
52+
}

playwright-jest/jest-playwright.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ module.exports = {
4747
}
4848
},
4949
browsers: ['chromium', 'firefox', 'webkit'],
50-
}
50+
}

playwright-jest/jest.config.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
module.exports = {
2-
rootDir: '.',
3-
testTimeout: 20000,
4-
testMatch: [
5-
'<rootDir>/*.test.js'
6-
],
7-
preset: 'jest-playwright-preset'
8-
}
2+
rootDir: '.',
3+
testTimeout: 20000,
4+
testMatch: [
5+
'<rootDir>/*.test.js'
6+
],
7+
preset: 'jest-playwright-preset'
8+
}
9+

sample_session_details_API.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ const clientPlaywrightVersion = cp.execSync('npx playwright --version').toString
4545
console.log(jsonObj); // This prints the entire JSON response. You can use any/all of the response attributes the way you like.
4646

4747
await browser.close();
48-
})();
48+
})();

sample_test_on_Pixel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ const clientPlaywrightVersion = cp.execSync('npx playwright --version').toString
4242
await page.evaluate(_ => {}, `browserstack_executor: ${JSON.stringify({action: 'setSessionStatus',arguments: {status: 'failed',reason: 'Title did not match'}})}`);
4343
}
4444
await browser.close();
45-
})();
45+
})();

sample_test_on_iPhone.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ const clientPlaywrightVersion = cp.execSync('npx playwright --version').toString
4242
await page.evaluate(_ => {}, `browserstack_executor: ${JSON.stringify({action: 'setSessionStatus',arguments: {status: 'failed',reason: 'Title did not match'}})}`);
4343
}
4444
await browser.close();
45-
})();
45+
})();

0 commit comments

Comments
 (0)