-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Taxon] Edit taxon slug #6657
[Taxon] Edit taxon slug #6657
Conversation
8dab76d
to
e6e8fe8
Compare
5d51246
to
699401c
Compare
699401c
to
c35d9da
Compare
c35d9da
to
78cfc2c
Compare
Thank you Mateusz! :) |
private function waitForSlugGenerationIfNecessary() | ||
{ | ||
if ($this->getDriver() instanceof Selenium2Driver) { | ||
$this->getDocument()->waitFor(1000, function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for 1000 seconds seems like quite too much.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Free commit 😄
} | ||
|
||
$value = $slugElement->getValue(); | ||
$this->getDocument()->waitFor(1000, function () use ($slugElement, $value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
$permalink
and based on$slug