Skip to content

Commit

Permalink
IPLAYER-39705 - Add form submit button skip check on iPlayer web bund…
Browse files Browse the repository at this point in the history
…les and lists apps (#58)

Co-authored-by: Daniel Barclay <barclaysd@me.com>
  • Loading branch information
henrywarne and barclayd authored Jan 21, 2021
1 parent 2b049c7 commit 7311a6e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion config/iplayer-web/app-homepage-test-signed-in.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
'use strict';

const { options, baseUrl } = require('./common');
const { options: commonOptions, baseUrl } = require('./common');

const commonSkips = commonOptions.skip;

// Temporarily skip test for the dropdown component on the category pages
const listSpecificSkips = ['Forms: Managing focus: Forms must have submit buttons'];

const options = Object.assign({}, commonOptions,
{
skip: [...commonSkips, ...listSpecificSkips]
}
);

module.exports = {
options,
Expand Down
13 changes: 12 additions & 1 deletion config/iplayer-web/app-lists-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
'use strict';

const { options, baseUrl } = require('./common');
const { options: commonOptions, baseUrl } = require('./common');

const commonSkips = commonOptions.skip;

// Temporarily skip test for the dropdown component on the category pages
const listSpecificSkips = ['Forms: Managing focus: Forms must have submit buttons'];

const options = Object.assign({}, commonOptions,
{
skip: [...commonSkips, ...listSpecificSkips]
}
);

module.exports = {
options,
Expand Down

0 comments on commit 7311a6e

Please sign in to comment.