forked from json-editor/json-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request json-editor#1357 from germanbisurgi/dev/tests-sche…
…maloader Dev/tests schemaloader
- Loading branch information
Showing
4 changed files
with
1,110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,17 @@ | ||
/* global Feature Scenario */ | ||
|
||
Feature('issues') | ||
|
||
Scenario('GitHub issue 1211 should remain fixed @issue-1211 @schemaloader', async ({ I }) => { | ||
I.amOnPage('issues/issue-gh-1211.html') | ||
I.waitForText('Rule collection') | ||
I.waitForText('SSID & MAC Groups') | ||
I.waitForText('Certificate Extensions') | ||
I.click('Rule') | ||
I.waitForText('Generic Allow Rule') | ||
I.click('Group') | ||
I.waitForText('Group 1') | ||
I.click('Extension') | ||
I.waitForText('OID') | ||
I.waitForValue('#value', '{"rules":[{"type":"any","name":"","description":"","enabled":false}],"groups":[{"type":"ssid-group","ssid-group":[],"name":"","description":""}],"certificate-extensions":[{"name":"","oid":""}],"trustedroots":[],"intuneids":[]}') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,13 @@ | ||
/* global Feature Scenario */ | ||
|
||
Feature('issues') | ||
|
||
Scenario('GitHub issue 795 should remain fixed @issue-795 @schemaloader', async ({ I }) => { | ||
I.amOnPage('issues/issue-gh-795.html') | ||
I.waitForText('Add item') | ||
I.click('Add item') | ||
I.waitForText('box') | ||
I.fillField('#value', JSON.stringify([[{}], {}])) | ||
I.click('Set Value') | ||
I.waitForValue('#value', '[[{}],{}]') | ||
}) |
Oops, something went wrong.