mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
test: Add stickies tests (#5413)
* test: Add tests for stickies * test: add sticky basic test * test: add size dragging tests * test: add delete sticky test * test: add editing test * test: update editing text * test: add expansion tests * test: add more tests * test: clean up tests * refactor: update dragging tests to make sense * refactor: upate drag right test * test: add shrink from right test * test: refactor some more * test: fix all tests * test: clean up * test: update number * test: add z-index tests * test: address comments * test: fix mistake * test: wait on save * test: try button instead
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
:ref="data.name"
|
||||
:style="stickyPosition"
|
||||
:data-name="data.name"
|
||||
data-test-id="sticky"
|
||||
>
|
||||
<div
|
||||
:class="{
|
||||
@@ -41,7 +42,12 @@
|
||||
</div>
|
||||
|
||||
<div v-show="showActions" class="sticky-options no-select-on-click">
|
||||
<div v-touch:tap="deleteNode" class="option" :title="$locale.baseText('node.deleteNode')">
|
||||
<div
|
||||
v-touch:tap="deleteNode"
|
||||
class="option"
|
||||
data-test-id="delete-sticky"
|
||||
:title="$locale.baseText('node.deleteNode')"
|
||||
>
|
||||
<font-awesome-icon icon="trash" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user