Add integration test-helpers and refactor integration tests
This commit is contained in:
24
test/integration/fixtures/scenario.svg
Normal file
24
test/integration/fixtures/scenario.svg
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
|
||||
<g class="gameboard">
|
||||
<g class="grid">
|
||||
<g data-y="0">
|
||||
<g data-x="0"><use href="#hex"/></g>
|
||||
<g data-x="1"><use href="#hex"/></g>
|
||||
<g data-x="2"><use href="#hex"/></g>
|
||||
</g>
|
||||
<g data-y="1">
|
||||
<g data-x="0"><use href="#hex"/></g>
|
||||
<g data-x="1"><use href="#hex"/></g>
|
||||
<g data-x="2"><use href="#hex"/></g>
|
||||
</g>
|
||||
<g data-y="2">
|
||||
<g data-x="0"><use href="#hex"/></g>
|
||||
<g data-x="1"><use href="#hex"/></g>
|
||||
<g data-x="2"><use href="#hex"/></g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<script/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 688 B |
Reference in New Issue
Block a user