test: use mire to record some e2e tests for itself
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
__MIRE_RUN_WITH_BREAKS___
|
||||
mire init
|
||||
mire record --save a
|
||||
echo one
|
||||
exit
|
||||
mire record --save nested/b
|
||||
echo two
|
||||
exit
|
||||
mire test
|
||||
exit
|
||||
@@ -0,0 +1,35 @@
|
||||
[?2004h$ mire init
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Done initialising...
|
||||
[?2004h$ mire record --save a
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Run commands in the recorder shell, then type exit to finish.
|
||||
[?2004h$ echo one
|
||||
[?2004l
|
||||
one
|
||||
[?2004h$ exit
|
||||
[?2004l
|
||||
exit
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Verifying recording...
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m /home/test/e2e/a
|
||||
[?2004h$ mire record --save nested/b
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Run commands in the recorder shell, then type exit to finish.
|
||||
[?2004h$ echo two
|
||||
[?2004l
|
||||
two
|
||||
[?2004h$ exit
|
||||
[?2004l
|
||||
exit
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Verifying recording...
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m /home/test/e2e/nested/b
|
||||
[?2004h$ mire test
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m [38;2;215;255;255mRUN[0m a
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m [38;2;0;215;175mPASS[0m a (12 ms)
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m [38;2;215;255;255mRUN[0m nested/b
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m [38;2;0;215;175mPASS[0m nested/b (12 ms)
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m [38;2;0;215;175mSummary: total=2 passed=2 failed=0[0m
|
||||
[?2004h$ exit
|
||||
[?2004l
|
||||
exit
|
||||
@@ -0,0 +1,7 @@
|
||||
__MIRE_RUN_WITH_BREAKS___
|
||||
mire init
|
||||
mire recoird tsest
|
||||
echo a
|
||||
exit
|
||||
y
|
||||
exit
|
||||
@@ -0,0 +1,13 @@
|
||||
[?2004h$ mire init
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Done initialising...
|
||||
[?2004h$ mire recoi rd ts est
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Run commands in the recorder shell, then type exit to finish.
|
||||
[?2004h$ echo a
|
||||
[?2004l
|
||||
a
|
||||
[?2004h$ exit
|
||||
[?2004l
|
||||
exit
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Save recording? [y/N] y
|
||||
@@ -0,0 +1,10 @@
|
||||
__MIRE_RUN_WITH_BREAKS___
|
||||
mire init
|
||||
mire record --save a
|
||||
echo one
|
||||
exit
|
||||
mire record --save nested/b
|
||||
echo two
|
||||
exit
|
||||
mire test nested
|
||||
exit
|
||||
@@ -0,0 +1,24 @@
|
||||
[?2004h$ mire init
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Done initialising...
|
||||
[?2004h$ mire record --save a
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Run commands in the recorder shell, then type exit to finish.
|
||||
[?2004h$ echo one
|
||||
[?2004l
|
||||
one
|
||||
[?2004h$ exit
|
||||
[?2004l
|
||||
exit
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Verifying recording...
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m /home/test/e2e/a
|
||||
[?2004h$ mire record --save nested/b
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Run commands in the recorder shell, then type exit to finish.
|
||||
[?2004h$ echo two
|
||||
[?2004l
|
||||
two
|
||||
[?2004h$ exit
|
||||
[?2004l
|
||||
exit
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Verifying recording...
|
||||
@@ -0,0 +1,9 @@
|
||||
__MIRE_RUN_WITH_BREAKS___
|
||||
mire init
|
||||
mkdir -p e2e/suite
|
||||
echo export FROM_SETUP=from_setup > e2e/suite/setup.sh
|
||||
mire record --save suite/spec
|
||||
echo $FROM_SETUP
|
||||
exit
|
||||
mire test suite
|
||||
exit
|
||||
@@ -0,0 +1,18 @@
|
||||
[?2004h$ mire init
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Done initialising...
|
||||
[?2004h$ mkdir -p e2e/suite
|
||||
[?2004l
|
||||
[?2004h$ echo export FROM_SETUP=from_setup > e2e/suite/setup.sh
|
||||
[?2004l
|
||||
[?2004h$ mire record --save suite/spec
|
||||
[?2004l
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Run commands in the recorder shell, then type exit to finish.
|
||||
[?2004h$ echo $FROM_SETUP
|
||||
[?2004l
|
||||
from_setup
|
||||
[?2004h$ exit
|
||||
[?2004l
|
||||
exit
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m Verifying recording...
|
||||
[1m[3m[38;2;112;224;0mmire[0m [1m[3m[38;2;29;211;176m›[0m /home/test/e2e/suite/spec
|
||||
Reference in New Issue
Block a user