Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tests): Use proper API and check for required token #10223

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/scripts/tests_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ while [ ! -z "$1" ]; do
-W )
shift
wokwi_timeout=$1
if [[ -z $WOKWI_CLI_TOKEN ]]; then
echo "Wokwi CLI token is not set"
exit 1
fi
platform="wokwi"
;;
-o )
Expand Down
2 changes: 1 addition & 1 deletion tests/validation/democfg/test_democfg.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def test_cfg(dut):
dut.expect("Hello cfg!")
dut.expect_exact("Hello cfg!")
2 changes: 1 addition & 1 deletion tests/validation/hello_world/test_hello_world.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def test_hello_world(dut):
dut.expect("Hello Arduino!")
dut.expect_exact("Hello Arduino!")
6 changes: 3 additions & 3 deletions tests/validation/nvs/test_nvs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def test_nvs(dut):
dut.expect("Current counter value: 0")
dut.expect("Current counter value: 1")
dut.expect("Current counter value: 2")
dut.expect_exact("Current counter value: 0")
dut.expect_exact("Current counter value: 1")
dut.expect_exact("Current counter value: 2")
Loading