-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: add watcher fixtures #24
Conversation
<div style="margin-bottom: 5em"> | ||
<h2>Test Case 1 - Button Click</h2> | ||
|
||
<div id="color-block">This isn't readable is it...</div> | ||
<button onclick="updateColour()">Click me</button> | ||
|
||
<style> | ||
#color-block { | ||
background-color: white; | ||
color: white; | ||
width: 100px; | ||
height: 100px; | ||
margin-bottom: 1em; | ||
display: none; | ||
} | ||
</style> | ||
|
||
<script> | ||
function updateColour() { | ||
const colorBlock = document.getElementById("color-block"); | ||
colorBlock.style.backgroundColor = "gray"; | ||
colorBlock.style.display = "block"; | ||
|
||
document.title = "Watcher - Test Case 1 - Button Click"; | ||
} | ||
</script> | ||
</div> |
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.
Decided to put script
and style
tags within each div
"test block". Can merge them all necessary, this reads easier but no strong opinion here.
Is this the right place for this test fixture? We've been using this strictly for all the apis to have tests, watcher is outside that scope. Is there a reason this doesn't belong in the watcher repo? |
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.
I don't think we should use this repo as a place to gather any fixtures we need shared across multiple repos. We should limit the scope of this repo to test cases and fixtures that are needed by axe-core APIs
Clarification for readers: discussed during standup - watcher related fixtures will have a home here under |
Please see referenced ticket