You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

查询与Angular 13兼容的apollo-angular及apollo-client版本

Angular 13 兼容的 Apollo 库版本
  • apollo-angular:需使用 ^3.0.0 及以上版本,该版本起正式支持 Angular 13
  • apollo-client:对应兼容版本为 ^3.5.0 及以上,需与 apollo-angular 版本匹配以避免依赖冲突

翻译后的 Cypress 测试代码

/// <reference types="Cypress" />

import { COMMON } from '../../../helpers/constants';

context('授权 - 违规数据导出器', () => {
    beforeEach(() => {
        cy.interceptGQL('swbUserProfile', 'breaches/new-breach-case/user-profile-breach-exporter.json', 200, COMMON);
        cy.visit('/breaches');
    });
    describe('违规数据导出', () => {
        it('点击用户名按钮后应显示下载违规数据链接', () => {
            cy.getByDataSelector('user-name-button-group').should('可见');
            cy.getByDataSelector('user-name-button-group').click();
            cy.getByDataSelector('user-name-button-group').contains('下载违规数据');
            
        });
    });
});

内容的提问来源于stack exchange,提问作者Meenu Meena

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.22 10:47:18