From 2bf37cb91444dbdaa8e0ccf965b7c9e84717da12 Mon Sep 17 00:00:00 2001 From: Timur Sultanov Date: Thu, 25 Jul 2024 18:04:45 +0400 Subject: [PATCH] Tests: Add tests for ` element has options available immediately --- ...ectElement-options-available-after-add.txt | 1 + ...electElement-options-available-at-load.txt | 1 + ...ctElement-options-available-after-add.html | 20 +++++++++++++++++++ ...lectElement-options-available-at-load.html | 14 +++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-after-add.txt create mode 100644 Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-at-load.txt create mode 100644 Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-after-add.html create mode 100644 Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-at-load.html diff --git a/Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-after-add.txt b/Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-after-add.txt new file mode 100644 index 00000000000..efcf214fd8b --- /dev/null +++ b/Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-after-add.txt @@ -0,0 +1 @@ +Option 1 PASS (correct value) diff --git a/Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-at-load.txt b/Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-at-load.txt new file mode 100644 index 00000000000..efcf214fd8b --- /dev/null +++ b/Tests/LibWeb/Text/expected/HTML/HTMLSelectElement-options-available-at-load.txt @@ -0,0 +1 @@ +Option 1 PASS (correct value) diff --git a/Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-after-add.html b/Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-after-add.html new file mode 100644 index 00000000000..501992eaf6b --- /dev/null +++ b/Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-after-add.html @@ -0,0 +1,20 @@ + + + + diff --git a/Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-at-load.html b/Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-at-load.html new file mode 100644 index 00000000000..2f68ceccbb2 --- /dev/null +++ b/Tests/LibWeb/Text/input/HTML/HTMLSelectElement-options-available-at-load.html @@ -0,0 +1,14 @@ + + + +