184k views
4 votes
You want to run a Selenium test when someone changes a community profile. How can you ensure that this quality gate is applied only when a community profile is deployed? (Hint: All the community profiles contain Community in their name.)

a. This is not possible.
b. Create a Metadata Item, select Profile as Metadata Type, and use the Metadata grid to select the Community profiles.
c. Create a Metadata Item, select Profile as Metadata Type, and use the Advanced Metadata Name to filter by Community profiles.

1 Answer

2 votes

Final answer:

To ensure that a Selenium test is applied only when a community profile is deployed, you can create a Metadata Item with Profile as the Metadata Type and filter by Community profiles using the Advanced Metadata Name.

Step-by-step explanation:

To ensure that a Selenium test is applied only when a community profile is deployed, you can create a Metadata Item with Profile as the Metadata Type and filter by Community profiles using the Advanced Metadata Name. This can be done by selecting the Profile metadata type and entering 'Community' in the Advanced Metadata Name field. This way, the quality gate will only be applied when a community profile is detected.

User Lmagyar
by
8.7k points