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 wait method to accept milliseconds #81

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

NoelDeMartin
Copy link
Contributor

In a recent update #79, the wait method started rounding milliseconds to seconds and I'm not sure that it was intentional (after all, if the wait method is only supposed to take seconds, it should take an int $seconds argument instead).

stronk7 added a commit to stronk7/moodle that referenced this pull request Aug 4, 2023
This bumps direct dependencies to current ones:

- phpunit: 9.5.x No updates here, there is the 9.6.x series
  available but a lot of deprecation warnings have been
  introduced there without any alternative to use. See:
  - sebastianbergmann/phpunit#5160
  - sebastianbergmann/phpunit#5062
  - ...
  While that will be handy to prepare ourselves to PHPUnit 10
  in some months... we cannot force everybody to jump to 9.6.x
  because that will make a lot of tests to start emitting
  warnings.
  So we stay with PHPUnit 9.5.x for the life of this branch.
- mink-phpwebdriver: 1.2.1 No updates here, just changed the
  constraint because we cannot advance to 1.3.x yet, there is
  a change there causing some app tests to fail. See:
  - oleg-andreyev/MinkPhpWebDriver#81
  So we stay with 1.2.x until that issue is fixed/clarified,
  only then we'll review the status.
- behat: 3.12.x => 3.13.x

And also, automatically, a bunch of 2nd and deepest dependencies.

Generated with php80 that is the lowest php version supported
by this branch and, also, by some of the dependencies, as per
documented @ https://moodledev.io/general/development/tools/composer

Worth mentioning behat/mink-goutte-driver, that we should move
to mink-browserkit-driver, but that's out from this issue scope.
stronk7 added a commit to stronk7/moodle that referenced this pull request Aug 4, 2023
This bumps direct dependencies to current ones:

- phpunit: 9.5.x No updates here, there is the 9.6.x series
  available but a lot of deprecation warnings have been
  introduced there without any alternative to use. See:
  - sebastianbergmann/phpunit#5160
  - sebastianbergmann/phpunit#5062
  - ...
  While that will be handy to prepare ourselves to PHPUnit 10
  in some months... we cannot force everybody to jump to 9.6.x
  because that will make a lot of tests to start emitting
  warnings.
  So we stay with PHPUnit 9.5.x for the life of this branch.
- mink-phpwebdriver: 1.2.1 No updates here, just changed the
  constraint because we cannot advance to 1.3.x yet, there is
  a change there causing some app tests to fail. See:
  - oleg-andreyev/MinkPhpWebDriver#81
  So we stay with 1.2.x until that issue is fixed/clarified,
  only then we'll review the status.
- behat: 3.12.x => 3.13.x

And also, automatically, a bunch of 2nd and deepest dependencies.

Generated with php80 that is the lowest php version supported
by this branch and, also, by some of the dependencies, as per
documented @ https://moodledev.io/general/development/tools/composer

Worth mentioning behat/mink-goutte-driver, that we should move
to mink-browserkit-driver, but that's out from this issue scope.
stronk7 added a commit to stronk7/moodle that referenced this pull request Aug 5, 2023
This bumps direct dependencies to current ones:

- phpunit: 9.5.x No updates here, there is the 9.6.x series
  available but a lot of deprecation warnings have been
  introduced there without any alternative to use. See:
  - sebastianbergmann/phpunit#5160
  - sebastianbergmann/phpunit#5062
  - ...
  While that will be handy to prepare ourselves to PHPUnit 10
  in some months... we cannot force everybody to jump to 9.6.x
  because that will make a lot of tests to start emitting
  warnings.
  So we stay with PHPUnit 9.5.x for the life of this branch.
- mink-phpwebdriver: 1.2.1 No updates here, just changed the
  constraint because we cannot advance to 1.3.x yet, there is
  a change there causing some app tests to fail. See:
  - oleg-andreyev/MinkPhpWebDriver#81
  So we stay with 1.2.x until that issue is fixed/clarified,
  only then we'll review the status.
- behat: 3.12.x => 3.13.x

And also, automatically, a bunch of 2nd and deepest dependencies.

Generated with php74 that is the lowest php version supported
by this branch and, also, by some of the dependencies, as per
documented @ https://moodledev.io/general/development/tools/composer

Worth mentioning behat/mink-goutte-driver, that we should move
to mink-browserkit-driver, but that's out from this issue scope.
NoelDeMartin added a commit to NoelDeMartin/moodleapp that referenced this pull request Dec 5, 2023
The behaviour of wait for new versions has changed, so we need to implement it ourselves. See oleg-andreyev/MinkPhpWebDriver#81
NoelDeMartin added a commit to NoelDeMartin/moodleapp that referenced this pull request Dec 5, 2023
The behaviour of wait for new versions has changed, so we need to implement it ourselves. See oleg-andreyev/MinkPhpWebDriver#81
NoelDeMartin added a commit to moodlehq/moodle-local_moodleappbehat that referenced this pull request Dec 11, 2023
The behaviour of wait for new versions has changed, so we need to implement it ourselves. See oleg-andreyev/MinkPhpWebDriver#81
@oleg-andreyev oleg-andreyev merged commit c5c2e31 into oleg-andreyev:1.3 Jan 23, 2024
@oleg-andreyev
Copy link
Owner

@NoelDeMartin sorry that you had to wait for such long time.

jerico-castillo pushed a commit to jerico-castillo/my-moodleapp that referenced this pull request Apr 2, 2024
The behaviour of wait for new versions has changed, so we need to implement it ourselves. See oleg-andreyev/MinkPhpWebDriver#81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants