From d284e3cf0377478d28c91304dcb471df8bbe9647 Mon Sep 17 00:00:00 2001 From: kaesinol Date: Sun, 12 Nov 2023 23:42:03 +0800 Subject: [PATCH] fuck u github ci --- tests/CI.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/CI.py b/tests/CI.py index 776db55..67d6524 100644 --- a/tests/CI.py +++ b/tests/CI.py @@ -1,5 +1,6 @@ import unittest from pathlib import Path +from time import sleep from selenium import webdriver from selenium.webdriver.chrome.webdriver import WebDriver @@ -24,7 +25,8 @@ def test_spider(self): broswer = get_browser() tweet = Tweet('https://twitter.com/_CASTSTATION/status/1697029186777706544', is_ci_test=True) tweet.load_data(broswer) - broswer.get('https://google.com') + broswer.get('https://twitter.com/_CASTSTATION/status/1697029186777706544') + sleep(60) broswer.save_screenshot('debug.png') print('fuck u twitter') print(Path('debug.png').absolute())