Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloud
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
cloud
Merge requests
!905
Issue
#3278023
: Add a BDD test suite for CronJobs (Delete)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3278023
: Add a BDD test suite for CronJobs (Delete)
issue/cloud-3278023:3278023-add-a-bdd
into
5.x
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Tamaki Fujino
requested to merge
issue/cloud-3278023:3278023-add-a-bdd
into
5.x
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
5.x
version 2
35df361c
3 years ago
version 1
9d18df7d
3 years ago
5.x (base)
and
latest version
latest version
35df361c
2 commits,
3 years ago
version 2
35df361c
2 commits,
3 years ago
version 1
9d18df7d
1 commit,
3 years ago
1 file
+
19
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
modules/cloud_service_providers/k8s/tests/src/Behat/features/templates/K8s-ATDD-02-06-OperateCronJobs.feature
+
19
−
1
Options
Feature
:
Create resources for K8s as "Authenticated User"
As a user
I need to create a CronJob
I need to create
and delete
a CronJob
@api @javascript
Scenario
:
Create a CronJob
@@ -35,3 +35,21 @@ Feature: Create resources for K8s as "Authenticated User"
Then
the url should match
"/clouds/k8s/{{ cloud_context }}/cron_job"
And
I should see
"has been created"
And
I should see
"{{ cronjob_name }}"
in the
"{{ namespace }}"
row
@api
@javascript
Scenario
:
Delete a CronJob
Given
I am logged in as user
"{{ user_name }}"
When
I visit
"/clouds/k8s/{{ cloud_context }}/cron_job"
And
I click
"Refresh"
And
I wait {{ wait }} milliseconds
And
I should see the link
"{{ cronjob_name }}"
And
I click
"{{ cronjob_name }}"
And
the url should match
"/k8s/{{ cloud_context }}/cron_job/"
And
I click
"Delete"
in the
"actions"
And
the url should match
"/delete"
And
I press
"Delete"
And
I wait for AJAX to finish
Then
I should be on
"/clouds/k8s/{{ cloud_context }}/cron_job"
And
I should see
"has been deleted"
And
I click
"Refresh"
And
I should not see the link
"{{ cronjob_name }}"
Loading