We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 708c652 commit 97d3aa9Copy full SHA for 97d3aa9
test/cmd/basicresources.sh
@@ -309,6 +309,9 @@ os::cmd::expect_success_and_text 'oc projects' 'You have access'
309
# log in as a test user and expect no projects
310
os::cmd::expect_success 'oc login -u test -p test'
311
os::cmd::expect_success_and_text 'oc projects' 'You are not a member of any projects'
312
+# add a project and expect text for a single project
313
+os::cmd::expect_success_and_text 'oc new-project test4; sleep 2; oc projects' 'You have one project on this server: test4'
314
+os::cmd::expect_success_and_text 'oc new-project test5; sleep 2; oc projects' 'You have access'
315
echo 'projects command ok'
316
317
os::test::junit::declare_suite_start "cmd/basicresources/patch"
0 commit comments