-
Notifications
You must be signed in to change notification settings - Fork 258
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
"And I pause scenario execution" doesn't work #96
Comments
When you run the Docker exec command pass it the -i flag for an interactive terminal
|
Hi @tmuras, stdin_open: true # Maps -i
#tty: true # Maps -t, In case posix_isatty() requires even a TTY since it is called against STDOUT for the composition i.e.: $ git diff
diff --git a/base.yml b/base.yml
index 24f3882..6b7cdc0 100755
--- a/base.yml
+++ b/base.yml
@@ -2,6 +2,8 @@ version: "2"
services:
webserver:
image: "moodlehq/moodle-php-apache:${MOODLE_DOCKER_PHP_VERSION}"
+ stdin_open: true
+ #tty: true
depends_on:
- db
volumes: It would be a nice add-on if it will work, given the right combination (just HTH, |
Have anybody tried this? exec, base.yml or both? I know I can try, heh, just I'm lazy :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the step "And I pause scenario execution" triggers an exception:
Break point should only be used with interative terminal. (Behat\Mink\Exception\ExpectationException)
even it the tests are run from inside docker container, using interactive session.
The good news is that it's only the check that is not working in docker:
Simply commenting out throwing an exception line will make the step to behave correctly:
The text was updated successfully, but these errors were encountered: