diff --git a/Tests/LibWeb/Text/data/history-pushstate-iframe.html b/Tests/LibWeb/Text/data/history-pushstate-iframe.html
new file mode 100644
index 0000000000..1f227bb523
--- /dev/null
+++ b/Tests/LibWeb/Text/data/history-pushstate-iframe.html
@@ -0,0 +1,15 @@
+
diff --git a/Tests/LibWeb/Text/data/iframe-test-content-1.html b/Tests/LibWeb/Text/data/iframe-test-content-1.html
new file mode 100644
index 0000000000..77d9d10075
--- /dev/null
+++ b/Tests/LibWeb/Text/data/iframe-test-content-1.html
@@ -0,0 +1,3 @@
+
diff --git a/Tests/LibWeb/Text/data/iframe-test-content-2.html b/Tests/LibWeb/Text/data/iframe-test-content-2.html
new file mode 100644
index 0000000000..d651bcbb30
--- /dev/null
+++ b/Tests/LibWeb/Text/data/iframe-test-content-2.html
@@ -0,0 +1,3 @@
+
diff --git a/Tests/LibWeb/Text/input/navigation/navigation-navigate-iframe.html b/Tests/LibWeb/Text/data/navigation-navigate-iframe.html
similarity index 94%
rename from Tests/LibWeb/Text/input/navigation/navigation-navigate-iframe.html
rename to Tests/LibWeb/Text/data/navigation-navigate-iframe.html
index 30eee251a5..6bfcc11108 100644
--- a/Tests/LibWeb/Text/input/navigation/navigation-navigate-iframe.html
+++ b/Tests/LibWeb/Text/data/navigation-navigate-iframe.html
@@ -1,15 +1,10 @@
-
diff --git a/Tests/LibWeb/Text/expected/navigation/history-pushstate-iframe.txt b/Tests/LibWeb/Text/expected/navigation/history-pushstate-iframe.txt
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/Tests/LibWeb/Text/expected/navigation/iframe-test-content-1.txt b/Tests/LibWeb/Text/expected/navigation/iframe-test-content-1.txt
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/Tests/LibWeb/Text/expected/navigation/iframe-test-content-2.txt b/Tests/LibWeb/Text/expected/navigation/iframe-test-content-2.txt
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/Tests/LibWeb/Text/expected/navigation/navigation-navigate-iframe.txt b/Tests/LibWeb/Text/expected/navigation/navigation-navigate-iframe.txt
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/Tests/LibWeb/Text/input/navigation/history-pushstate-iframe.html b/Tests/LibWeb/Text/input/navigation/history-pushstate-iframe.html
deleted file mode 100644
index ae62b21d47..0000000000
--- a/Tests/LibWeb/Text/input/navigation/history-pushstate-iframe.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
diff --git a/Tests/LibWeb/Text/input/navigation/history-pushstate.html b/Tests/LibWeb/Text/input/navigation/history-pushstate.html
index 60a12d1654..4c09ff4548 100644
--- a/Tests/LibWeb/Text/input/navigation/history-pushstate.html
+++ b/Tests/LibWeb/Text/input/navigation/history-pushstate.html
@@ -18,6 +18,6 @@
done();
});
- await navigateIframe("./history-pushstate-iframe.html");
- });
+ await navigateIframe("../../data/history-pushstate-iframe.html");
+ });
diff --git a/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html b/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html
index 0f0664b9f1..1248dfc4af 100644
--- a/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html
+++ b/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html
@@ -21,8 +21,8 @@
}
});
- await navigateIframe("iframe-test-content-1.html");
- await navigateIframe("iframe-test-content-2.html");
+ await navigateIframe("../../data/iframe-test-content-1.html");
+ await navigateIframe("../../data/iframe-test-content-2.html");
});
diff --git a/Tests/LibWeb/Text/input/navigation/iframe-test-content-1.html b/Tests/LibWeb/Text/input/navigation/iframe-test-content-1.html
deleted file mode 100644
index 080d84daba..0000000000
--- a/Tests/LibWeb/Text/input/navigation/iframe-test-content-1.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/Tests/LibWeb/Text/input/navigation/iframe-test-content-2.html b/Tests/LibWeb/Text/input/navigation/iframe-test-content-2.html
deleted file mode 100644
index 42694e6186..0000000000
--- a/Tests/LibWeb/Text/input/navigation/iframe-test-content-2.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/Tests/LibWeb/Text/input/navigation/navigation-navigate.html b/Tests/LibWeb/Text/input/navigation/navigation-navigate.html
index b478e54cef..ab0181d0a3 100644
--- a/Tests/LibWeb/Text/input/navigation/navigation-navigate.html
+++ b/Tests/LibWeb/Text/input/navigation/navigation-navigate.html
@@ -19,6 +19,6 @@
done();
});
- await navigateIframe("./navigation-navigate-iframe.html");
- });
+ await navigateIframe("../../data/navigation-navigate-iframe.html");
+ });