@@ -139,9 +139,10 @@ SLEEPERS_INPUT_FILE := .e2e-playwright-sleepers-env.txt
139139S4L_INPUT_FILE := .e2e-playwright-sim4life-env.txt
140140JUPYTER_LAB_INPUT_FILE := .e2e-playwright-jupyterlab-env.txt
141141CLASSIC_TIP_INPUT_FILE := .e2e-playwright-classictip-env.txt
142+ RSM_INPUT_FILE := .e2e-playwright-rsm-env.txt
142143
143144# Prompt the user for input and store it into variables
144- $(SLEEPERS_INPUT_FILE ) $(JUPYTER_LAB_INPUT_FILE ) $(CLASSIC_TIP_INPUT_FILE ) $(S4L_INPUT_FILE ) :
145+ $(SLEEPERS_INPUT_FILE ) $(JUPYTER_LAB_INPUT_FILE ) $(CLASSIC_TIP_INPUT_FILE ) $(S4L_INPUT_FILE ) $( RSM_INPUT_FILE ) :
145146 @read -p " Enter your product URL: " PRODUCT_URL; \
146147 read -p " Is the product billable [y/n]: " BILLABLE; \
147148 read -p " Is the product lite [y/n]: " IS_LITE; \
@@ -189,6 +190,20 @@ $(SLEEPERS_INPUT_FILE) $(JUPYTER_LAB_INPUT_FILE) $(CLASSIC_TIP_INPUT_FILE) $(S4L
189190 elif [ " $@ " = " $( SLEEPERS_INPUT_FILE) " ]; then \
190191 read -p " Enter the number of sleepers: " NUM_SLEEPERS; \
191192 echo " --num-sleepers=$$ NUM_SLEEPERS" >> $@ ; \
193+ elif [ " $@ " = " $( RSM_INPUT_FILE) " ]; then \
194+ read -p " Enter the service key (default to mmux-vite-app-sumo-write): " SERVICE_KEY; \
195+ if [ -z " $$ SERVICE_KEY" ]; then \
196+ echo " No service key specified, using default." ; \
197+ echo " --service-key=mmux-vite-app-sumo-write" >> $@ ; \
198+ else \
199+ echo " --service-key=$$ SERVICE_KEY" >> $@ ; \
200+ fi ; \
201+ read -p " Enter the service version (default to latest): " SERVICE_VERSION; \
202+ if [ -z " $$ SERVICE_VERSION" ]; then \
203+ echo " No service version specified, using default." ; \
204+ else \
205+ echo " --service-version=$$ SERVICE_VERSION" >> $@ ; \
206+ fi ; \
192207 fi
193208
194209# Run the tests
@@ -202,7 +217,10 @@ test-jupyterlab-anywhere: _check_venv_active $(JUPYTER_LAB_INPUT_FILE) ## run ju
202217 @$(call run_test, $(JUPYTER_LAB_INPUT_FILE ) , tests/jupyterlabs/test_jupyterlab.py)
203218
204219test-tip-anywhere : _check_venv_active $(CLASSIC_TIP_INPUT_FILE ) # # run classic tip test and cache settings
205- $(call run_test, $(CLASSIC_TIP_INPUT_FILE ) , tests/tip/test_ti_plan.py)
220+ @$(call run_test, $(CLASSIC_TIP_INPUT_FILE ) , tests/tip/test_ti_plan.py)
221+
222+ test-response-surface-modeling-anywhere : _check_venv_active $(RSM_INPUT_FILE ) # # run response surface modeling test and cache settings
223+ @$(call run_test, $(RSM_INPUT_FILE ) , tests/metamodeling/test_response_surface_modeling.py)
206224
207225# Define the common test running function
208226define run_test
0 commit comments