Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

Use conditional tag matching logic everywhere - #190

Merged
francisf merged 2 commits into
browserstack:masterfrom
cwisecarver:bugfix/fix-matcher-logic
Jan 29, 2020
Merged

francisf merged 2 commits into
browserstack:masterfrom
cwisecarver:bugfix/fix-matcher-logic

Conversation

@cwisecarver

Copy link
Copy Markdown
Contributor

The logic to match a tag depending on test framework was not consistent when using the test_server configuration option. It would always search for </head> and replace that with </body> if the framework was not mocha. This PR puts that logic into a function and uses it in both places.

@cwisecarver
cwisecarver force-pushed the bugfix/fix-matcher-logic branch from 9edd37a to 0c8a560 Compare December 6, 2017 17:54
@cwisecarver

Copy link
Copy Markdown
Contributor Author

@pulkitsharma07 Updated to merge cleanly.

@cwisecarver
cwisecarver force-pushed the bugfix/fix-matcher-logic branch from 0c8a560 to c584dd5 Compare December 12, 2017 20:54
@francisf
francisf merged commit fb33f8e into browserstack:master Jan 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

5 participants