1 | <?php |
||
12 | class EmbedButtonTest extends JavascriptTestBase { |
||
13 | |||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | public static $modules = [ |
||
18 | 'node', |
||
19 | 'path', |
||
20 | 'text', |
||
21 | ]; |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function setUp() { |
||
48 | |||
49 | /** |
||
50 | * Tests that the entity embed dialog is working. |
||
51 | */ |
||
52 | public function testMediaEmbedDialog() { |
||
74 | |||
75 | /** |
||
76 | * Installs the module using module_handler service. |
||
77 | * |
||
78 | * @param string $module_name |
||
79 | * Name of the module to install. |
||
80 | */ |
||
81 | public function installModule($module_name) { |
||
86 | |||
87 | /** |
||
88 | * Wait for AJAX. |
||
89 | */ |
||
90 | protected function wait() { |
||
93 | |||
94 | /** |
||
95 | * Find an element based on a CSS selector. |
||
96 | * |
||
97 | * @param string $css_selector |
||
98 | * A css selector to find an element for. |
||
99 | * |
||
100 | * @return \Behat\Mink\Element\NodeElement|null |
||
101 | * The found element or null. |
||
102 | */ |
||
103 | protected function find($css_selector) { |
||
106 | |||
107 | } |
||
108 |