Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-03 18:12:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-03 18:12:58 +0300
commit27a5080c34c64a84219d855d652b994c5e344a0a (patch)
tree1f6bcb68378e4965b4e93a846d8a939af18aeec6 /spec/frontend/pipelines
parent2c01907a1ab4b328e2f20ddf9e10dfe6dc17105a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pipelines')
-rw-r--r--spec/frontend/pipelines/graph/job_item_spec.js4
-rw-r--r--spec/frontend/pipelines/pipelines_manual_actions_spec.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/pipelines/graph/job_item_spec.js b/spec/frontend/pipelines/graph/job_item_spec.js
index 5cc2c76f3dd..2a5dfd7e0ee 100644
--- a/spec/frontend/pipelines/graph/job_item_spec.js
+++ b/spec/frontend/pipelines/graph/job_item_spec.js
@@ -121,7 +121,7 @@ describe('pipeline graph job item', () => {
expect(actionComponent.exists()).toBe(true);
expect(actionComponent.props('actionIcon')).toBe('retry');
- expect(actionComponent.attributes('disabled')).not.toBe('disabled');
+ expect(actionComponent.attributes('disabled')).toBeUndefined();
});
it('should render disabled action icon when user cannot run the action', () => {
@@ -135,7 +135,7 @@ describe('pipeline graph job item', () => {
expect(actionComponent.exists()).toBe(true);
expect(actionComponent.props('actionIcon')).toBe('stop');
- expect(actionComponent.attributes('disabled')).toBe('disabled');
+ expect(actionComponent.attributes('disabled')).toBeDefined();
});
it('action icon tooltip text when job has passed but can be ran again', () => {
diff --git a/spec/frontend/pipelines/pipelines_manual_actions_spec.js b/spec/frontend/pipelines/pipelines_manual_actions_spec.js
index e47e57db887..82cab88c9eb 100644
--- a/spec/frontend/pipelines/pipelines_manual_actions_spec.js
+++ b/spec/frontend/pipelines/pipelines_manual_actions_spec.js
@@ -101,7 +101,7 @@ describe('Pipeline manual actions', () => {
});
it("displays a disabled action when it's not playable", () => {
- expect(findAllDropdownItems().at(0).attributes('disabled')).toBe('true');
+ expect(findAllDropdownItems().at(0).attributes('disabled')).toBeDefined();
});
describe('on action click', () => {