Skip to content

Commit d806a52

Browse files
redbeamanjannath
authored andcommitted
e2e: changes to accommodate 9pfs test scenario
Renamed `custom_developer_password.feature` to `running_cluster_tests.feature` and moved 9pfs scenario to it to save one more cluster startup. #5068
1 parent eef2df8 commit d806a52

3 files changed

Lines changed: 30 additions & 31 deletions

File tree

test/e2e/features/9pfs.feature

Lines changed: 0 additions & 12 deletions
This file was deleted.

test/e2e/features/custom_developer_password.feature

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
@running_cluster_tests
2+
Feature: Test scenarios on a running cluster
3+
4+
This feature contains scenarios that require a running cluster.
5+
1. Verify 9pfs mount of user's home directory is mounted, accessible
6+
and that basic file operations work. Only relevant on Windows.
7+
2. User provides configuration property to override default developer user password.
8+
9+
Background:
10+
Given ensuring CRC cluster is running
11+
12+
@fs9p @windows
13+
Scenario: Test mounted home directory functionality
14+
Given home directory mount exists in VM
15+
And filesystem is mounted
16+
Then listing files in mounted home directory should succeed
17+
And basic file operations in mounted home directory should succeed
18+
And basic directory operations in mounted home directory should succeed
19+
20+
@linux @windows @darwin @cleanup
21+
Scenario: Override default developer password should be reflected during crc start
22+
Given executing "crc stop" succeeds
23+
And setting config property "developer-password" to value "secret-dev" succeeds
24+
When starting CRC with default bundle succeeds
25+
Then stdout should contain "Started the OpenShift cluster"
26+
And stdout should contain "Log in as administrator:"
27+
And stdout should contain " Username: kubeadmin"
28+
And stdout should contain "Log in as user:"
29+
And stdout should contain " Username: developer"
30+
And stdout should contain " Password: secret-dev"

0 commit comments

Comments
 (0)