@@ -104,39 +104,6 @@ def test_make_public(self, session, driver, project_page):
104
104
assert ProjectPage (driver , verify = True )
105
105
login (driver )
106
106
107
- @markers .smoke_test
108
- @markers .core_functionality
109
- def test_file_widget_loads (self , project_page_with_file ):
110
- # Check the uploaded file shows up in the files widget
111
- project_page_with_file .file_widget .loading_indicator .here_then_gone ()
112
- assert project_page_with_file .file_widget .first_file
113
-
114
- @markers .smoke_test
115
- @pytest .mark .skipif (
116
- not settings .PREFERRED_NODE ,
117
- reason = 'Only run this test if addons are set up on a specific node.' ,
118
- )
119
- @pytest .mark .parametrize ('provider' , settings .EXPECTED_PROVIDERS )
120
- def test_addon_files_load (self , project_page , session , driver , provider ):
121
- """This test is fragile and makes some assumptions about your setup.
122
- You must have all the addons in `EXPECTED_PROVIDERS` connected to your `PREFERRED_NODE`.
123
- In each provider you must have a file named `<provider_name>.txt`.
124
- """
125
- # scroll down enough so the viewer can see the full files widget
126
- project_page .scroll_into_view (project_page .log_widget .log_feed .element )
127
-
128
- # Wait for the rows with content to show up in the files widget
129
- WebDriverWait (driver , 10 ).until (EC .visibility_of (project_page .fangorn_row ))
130
- project_page .file_widget .filter_button .click ()
131
- project_page .file_widget .filter_input .clear ()
132
- project_page .file_widget .filter_input .send_keys_deliberately (provider )
133
-
134
- # Wait for a small (but not zero) amount of time after typing in the filter to wait for results to show
135
- WebDriverWait (driver , 5 ).until (EC .visibility_of (project_page .fangorn_row ))
136
- assert driver .find_element_by_xpath (
137
- "//*[contains(text(), '{}')]" .format (provider + '.txt' )
138
- )
139
-
140
107
141
108
@pytest .mark .usefixtures ('must_be_logged_in_as_user_two' )
142
109
class TestProjectDetailAsNonContributor :
0 commit comments