Skip to content

Commit

Permalink
test: disable Behat tests with JavaScript due to build failures
Browse files Browse the repository at this point in the history
In a current build environment Behat tests with "javascript" tag fail
with the following error:

    Empty read; connection dead? (WebSocket\ConnectionException)

The test framework is pretty outdated and challenging to maintain, so
let's disable these test cases for now to not block development.
  • Loading branch information
stklcode committed Nov 1, 2024
1 parent 2edd90b commit 9d9fcb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/behat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ ls $WORDPRESS_PATH/wp-content/plugins
vendor/bin/wp --path=$WORDPRESS_PATH plugin activate antispam-bee
vendor/bin/wp --path=$WORDPRESS_PATH theme activate twentynineteen

vendor/bin/behat
# TODO: JavaScript tests disabled, because of failures with current build environment
vendor/bin/behat --tags '~@javascript'

0 comments on commit 9d9fcb7

Please sign in to comment.