Skip to content

feat!: #1173 Drop Nightwatch support#1191

Open
rabbitlair wants to merge 6 commits intomainfrom
1173--drop-nightwatch
Open

feat!: #1173 Drop Nightwatch support#1191
rabbitlair wants to merge 6 commits intomainfrom
1173--drop-nightwatch

Conversation

@rabbitlair
Copy link
Copy Markdown
Contributor

Closes #1173

Drops Nightwatch support, keeping the related tasks as no-op displaying a warning - this is to prevent users currently using Nightwatch from having errors.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes Nightwatch support from Drainpipe v6, deleting associated documentation, scaffold files, the Composer plugin, and CI templates. Nightwatch tasks in drainpipe-dev/tasks/test.yml are replaced with deprecated no-ops. Original definitions of nightwatch:check and nightwatch:setup should be removed to avoid duplication.

@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 3, 2026 17:18 Inactive
@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 3, 2026 17:30 Inactive
@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 3, 2026 17:43 Inactive
@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 3, 2026 18:08 Inactive
@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 3, 2026 19:32 Inactive
@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 6, 2026 13:24 Inactive
Copy link
Copy Markdown
Member

@deviantintegral deviantintegral left a comment

Choose a reason for hiding this comment

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

How do you want to handle deprecating this? We could do a last 4.x release that shows a warning (so folks can get other changes), and then do a 5.x release? Other ideas?

# Restart is required to enable the provided Selenium containers
ddev restart

- name: Setup Selenium
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's possible folks are using Selenium containers but for non-nightwatch tests like DTT or Behat.

I still think we should remove them, but this is a broader change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The idea behind this "Setup Selenium" step in the test workflow is to be able to drop Nightwatch support while still using Selenium containers for DTT tests.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I forget, is this optional? I think sites should only pull the selenium containers if they need them or opt into them.

Copy link
Copy Markdown
Contributor Author

@rabbitlair rabbitlair Apr 7, 2026

Choose a reason for hiding this comment

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

Actually, this TestPHPUnit.yml file is a workflow that runs for Drainpipe only - at this moment, DTT tests are not scaffolded to projects using Drainpipe in any case.

I like the idea of providing scaffold for DTT tests, tough. I will open a new ticket for this feature, if that sounds good.

Copy link
Copy Markdown
Contributor Author

@rabbitlair rabbitlair Apr 7, 2026

Choose a reason for hiding this comment

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

This is a pull request I implemented to make configuring DTT tests easier, which I think we can merge before this one as it is not directly related: #1198

@rabbitlair
Copy link
Copy Markdown
Contributor Author

I think we can deprecate Nightwatch in the next release (that would 5.1.x or 5.2.0), then we merge this one when publishing 6.0.0 - that way, everyone will be aware of the removal.

@rabbitlair rabbitlair changed the title #1173: Drop Nightwatch support feat!: #1173 Drop Nightwatch support Apr 9, 2026
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.

Drop Nightwatch support

2 participants