Icu 7301 UI target oss workflow (#1589)
Icu 7301 UI target OSS workflow (#1589)
This commit is contained in:
1 parent
da59684f25
commit
b41b6ee3e3
8 files changed
+172
-100
No files matched your search
@@ -66,7 +66,7 @@ module('Acceptance | targets | update', function (hooks) {
|
||||
assert.notEqual(instances.target.worker_filter, 'random filter');
|
||||
|
||||
await click(`[href="${urls.target}"]`);
|
||||
await click('form [type="button"]', 'Activate edit mode');
|
||||
await click('.rose-form-actions [type="button"]', 'Activate edit mode');
|
||||
await fillIn('[name="name"]', 'random string');
|
||||
await fillIn('[name="worker_filter"]', 'random filter');
|
||||
await click('.rose-form-actions [type="submit"]');
|
||||
@@ -111,7 +111,7 @@ module('Acceptance | targets | update', function (hooks) {
|
||||
await visit(urls.targets);
|
||||
|
||||
await click(`[href="${urls.target}"]`);
|
||||
await click('form [type="button"]', 'Activate edit mode');
|
||||
await click('.rose-form-actions [type="button"]', 'Activate edit mode');
|
||||
await fillIn('[name="name"]', 'random string');
|
||||
await click('.rose-form-actions [type="button"]');
|
||||
|
||||
@@ -143,7 +143,7 @@ module('Acceptance | targets | update', function (hooks) {
|
||||
});
|
||||
|
||||
await click(`[href="${urls.target}"]`);
|
||||
await click('form [type="button"]', 'Activate edit mode');
|
||||
await click('.rose-form-actions [type="button"]', 'Activate edit mode');
|
||||
await fillIn('[name="name"]', 'random string');
|
||||
await click('[type="submit"]');
|
||||
|
||||
@@ -159,7 +159,7 @@ module('Acceptance | targets | update', function (hooks) {
|
||||
await visit(urls.targets);
|
||||
|
||||
await click(`[href="${urls.target}"]`);
|
||||
await click('form [type="button"]', 'Activate edit mode');
|
||||
await click('.rose-form-actions [type="button"]', 'Activate edit mode');
|
||||
await fillIn('[name="name"]', 'random string');
|
||||
assert.strictEqual(currentURL(), urls.target);
|
||||
await click(`[href="${urls.targets}"]`);
|
||||
@@ -178,7 +178,7 @@ module('Acceptance | targets | update', function (hooks) {
|
||||
await visit(urls.targets);
|
||||
|
||||
await click(`[href="${urls.target}"]`);
|
||||
await click('form [type="button"]', 'Activate edit mode');
|
||||
await click('.rose-form-actions [type="button"]', 'Activate edit mode');
|
||||
await fillIn('[name="name"]', 'random string');
|
||||
assert.strictEqual(currentURL(), urls.target);
|
||||
await click(`[href="${urls.targets}"]`);
|
||||
@@ -197,7 +197,7 @@ module('Acceptance | targets | update', function (hooks) {
|
||||
|
||||
await click(`[href="${urls.target}"]`);
|
||||
|
||||
assert.dom('form [type="button"]').doesNotExist();
|
||||
assert.dom('.rose-form-actions [type="button"]').doesNotExist();
|
||||
});
|
||||
|
||||
test('saving address with existing host sources brings up confirmation modal and removes host sources', async function (assert) {
|
||||
|
||||
Reference in new issue
Block a user