We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 656c996 commit bc63320Copy full SHA for bc63320
test/components/widgets/editableComponentTest.js
@@ -0,0 +1,20 @@
1
+import { appWrapper } from 'helpers/fullRenderHelper'
2
+
3
+describe('widgets > editableComponent', () => {
4
+ it('should display edit controls when clicking a widget in ot', () => {
5
+ expect(
6
+ $(
7
+ '.sp-operating-table .sp-ot-slide .sp-component:first .sp-edit-ctrls'
8
+ ).css('visibility')
9
+ ).to.equal('hidden')
10
+ appWrapper
11
+ .find('.sp-operating-table .sp-ot-slide .sp-component')
12
+ .first()
13
+ .simulate('mousedown')
14
15
16
17
18
+ ).to.equal('visible')
19
+ })
20
+})
0 commit comments