def test_remove_movie(app):
        do_add_corr_movie(app)
        app.go_to_main_page()
        app.go_edit_movie(Movie.CorrectData().title)
        assert app.movie_is_shown()
        app.remove_movie()
        assert app.movie_is_removed()
def do_add_corr_movie(app):
        app.go_to_home_page()
        app.do_login(User.Admin())
        assert app.is_logged_in()
#        app.go_to_main_page()
        app.click_add_movie_btn()
        assert app.is_addmovie_page()
        app.fill_movie_data_and_submit(Movie.CorrectData())
        assert app.movie_is_shown()