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

MNT Fix behat test #1254

Closed
wants to merge 1 commit into from
Closed

MNT Fix behat test #1254

wants to merge 1 commit into from

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Dec 5, 2023

Issue silverstripe/.github#169

Fix for https://github.com/silverstripe/silverstripe-userforms/actions/runs/7032661173/job/19266531442 which is breaking in CMS 5

There was a previously behat fix on 5.15 https://github.com/silverstripe/silverstripe-userforms/pull/1253/files which duplicated selecting 'File upload field' as the element type.

While that seems to work in 5.15 doesn't it doesn't in 6.1 as the change handler isn't fired on the drop down field and the folder select modal doesn't pop up

I've simply removed the duplicate drop down select in the PR and add some "wait for x seconds"

When this is merged assign by to me to do a manual merge up

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - the waits seem kinda random but discussing offline there was some method to the madness.

@@ -8,6 +8,7 @@ Feature: Userforms
And the "group" "ADMIN group" has permissions "Full administrative rights"
And a "group" "ADMIN group" has the "Code" "administrators"

@sboyd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@sboyd

Still there? Sounds like GitHub is having a moment... I'll look back again in an hour or so.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue is that I pushed to silverstripe account instead of creative commoners

@emteknetnz
Copy link
Member Author

Closed in favor of #1255

@emteknetnz emteknetnz closed this Dec 6, 2023
@GuySartorelli GuySartorelli deleted the pulls/5.15/behat branch December 6, 2023 06:01
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