-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install mathesar_types
to full-fill some of the important db functions to work with e2e integ Testing
#1168
Comments
@ManishShah120 are you working on this? I saw some messages in Matrix that might indicate that you are. |
Yes, @kgodey am working on it. It's a blocker for one of the other issue I am working on. |
Great thanks @ManishShah120, assigned to you. |
@ManishShah120 Few other issues(#1128, #1127) depend on this issue If you haven't started working on it, please let us know so that a core contributor can fix this issue. |
Hi, @silentninja I was working on it(but not working at present), but then I found out that, the issue I faced can be solved, by passing cc: @pavish |
@ManishShah120 That's not a proper solution, the reason why it works is that |
@silentninja I see. So do we need to do any of these:- 🤔 @pytest.fixture
def install_custom_type_schema(test_db_model):
engine = create_mathesar_engine(test_db_model.name)
install.install_mathesar_on_database(engine) OR @pytest.fixture
def install_custom_type_schema(test_db_model):
engine = create_mathesar_engine(test_db_model.name)
_add_custom_types_to_engine(engine)
install.install_mathesar_on_database(engine) and then pass these fixture wherever it is required 🤔 |
@ManishShah120 Yes, that should be the correct way forward. The correct fixture is the first one as
I would also look into renaming it to something like |
Description
While running the e2e integration testing, integ environment is missing certain db functions, which doesn't allow the e2e environment to work with.
Expected behavior
All the front-end functionality should work exactly the same manner as working with any browser in the playwright browser or e2e testing environment.
To Reproduce
This issue was found while working on these e2e tests, please refer these links:-
Environment
Additional context
Please refere:-
The text was updated successfully, but these errors were encountered: