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() { |
||
75 | |||
76 | /** |
||
77 | * Installs the module using module_handler service. |
||
78 | * |
||
79 | * @param string $module_name |
||
80 | * Name of the module to install. |
||
81 | */ |
||
82 | public function installModule($module_name) { |
||
87 | |||
88 | /** |
||
89 | * Wait for AJAX. |
||
90 | */ |
||
91 | protected function wait() { |
||
94 | |||
95 | /** |
||
96 | * Find an element based on a CSS selector. |
||
97 | * |
||
98 | * @param string $css_selector |
||
99 | * A css selector to find an element for. |
||
100 | * |
||
101 | * @return \Behat\Mink\Element\NodeElement|null |
||
102 | * The found element or null. |
||
103 | */ |
||
104 | protected function find($css_selector) { |
||
107 | |||
108 | } |
||
109 |