Skip to content

Commit

Permalink
Update browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedpair committed Jan 10, 2025
1 parent 3b74783 commit a8de8fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
[curl builder](https://app.mabl.com/workspaces/-/settings/apis#api-docs-selector-dropdown-button)
to find the id.
- `browser-types` {string} (optional): comma or new line separated override for browser
types to test e.g. `chrome, firefox, safari, edge`. If not
types to test e.g. `chrome, firefox, webkit, edge`. If not
provided, mabl will test the browsers configured on the triggered test.
- `plan-labels` {string} (optional): comma or new line separated plan labels to test. Plans matching **any** label will be run. e.g. `smoke-test, beta-feature`. Note: additional selection criteria must also be met like application-id or environment-id, if supplied.
- `uri` {string} (optional, DEPRECATED - use app_url) the base uri to run browser based tests against. If provided, this will
Expand Down
4 changes: 2 additions & 2 deletions test/suite.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ describe('GitHub Action tests', () => {
setGithubInput(ActionInputs.BrowserTypes, 'chrome, firefox ');
expect(optionalArrayInput(ActionInputs.BrowserTypes)).toEqual(['chrome', 'firefox']);

setGithubInput(ActionInputs.BrowserTypes, 'chrome\nfirefox\nsafari ');
expect(optionalArrayInput(ActionInputs.BrowserTypes)).toEqual(['chrome', 'firefox', 'safari']);
setGithubInput(ActionInputs.BrowserTypes, 'chrome\nfirefox\nwebkit\nedge ');
expect(optionalArrayInput(ActionInputs.BrowserTypes)).toEqual(['chrome', 'firefox', 'webkit', 'edge']);
});

it('parses boolean inputs', () => {
Expand Down

0 comments on commit a8de8fd

Please sign in to comment.